<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
	<head>
		<title>系统错误处理页面</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/skins/home.css" />
	
	</head>

	<body>
		<div class="pt-pt">
			<div class="pt-pt-cont">
				<div class="pt-pt-cont-warn">
                         	<img src="${pageContext.request.contextPath}/images/x-icon02.gif"/>
                             <p><b>信息提示:</b></p>
                             <p>对不起，系统出现错误，请联系系统管理员处理！</p>
                             <p>	点击这里查看<a class="p-p-t-more" class="orang" onclick="displayError();">错误信息</a>。</p>
					          <div id="errorInfo" style="display:none;">
					          	<p>错误信息：<s:property value="#request.exception" /></p>
					          </div>
                         </div>
			</div>
		</div>
	</body>
	<script type="text/javascript">
		var flag = "off";
		function displayError(){
			if(flag=="off"){
				document.all.errorInfo.style.display = "block";
				flag = "on";
			}else{
				document.all.errorInfo.style.display = "none";
				flag = "off";
			}
		}
	</script>
</html>

